repo: create a tombstone commit when deleting a commit
authorGiuseppe Scrivano <gscrivan@redhat.com>
Wed, 28 Oct 2015 11:10:27 +0000 (12:10 +0100)
committerGiuseppe Scrivano <gscrivan@redhat.com>
Tue, 3 Nov 2015 08:53:38 +0000 (09:53 +0100)
commit646fe139e6c64595c4c2f4fbac33ff28f2259ddf
treecffe2f2008f8825245bc04382a5d68d5b39b3075
parent76c5cc07db1a8ac4bd37ecc5f50c84ac4b42e886
repo: create a tombstone commit when deleting a commit

When a commit is deleted and the repo is configured to use tombstone
commits, create one.  Delete the tombstone file only if the commit is
pulled again.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
src/libostree/ostree-repo-commit.c
src/libostree/ostree-repo.c